<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

		<title>ok</title>
	<script>
		window.onload=function(){
			document.getElementById("s01").click=function(){
				window.close();
				//self.close();
			};
			document.getElementById("s02").click=function(){
				//window.close();
				//self.close();
				opener.close();
			};
		};
	</script>
	</head>

	<body>
	<h1>notice.html문서입니다.</h1>
	<span id="s01">창닫기</span>
	<div id="s02">부모창닫기</div>
	</body>
</html>
